package com.pango.system.mapper;

import java.util.List;

import com.pango.system.model.RoleResourcePermission;

public interface RoleResourcePermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(RoleResourcePermission record);

    int insertSelective(RoleResourcePermission record);

    RoleResourcePermission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RoleResourcePermission record);

    int updateByPrimaryKey(RoleResourcePermission record);
    
    int deleteByRoleKey(Long roleId);
    
    int insertBatch(List<RoleResourcePermission> records);
}